package com.originalpoint.origin_server.service.Impl;

import com.originalpoint.origin_server.mapper.MerchatInfoMapper;
import com.originalpoint.origin_server.pojo.Merchat;
import com.originalpoint.origin_server.service.MerchatInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MerchatInfoServiceImpl implements MerchatInfoService {
    @Autowired
    MerchatInfoMapper merchatInfoMapper;
    @Override
    public Merchat findMerchatInfo(Integer merId) {
        return merchatInfoMapper.findMerchatInfo(merId);
    }

    @Override
    public void updateMerchatInfo(Merchat merchat) {
       merchatInfoMapper.updateMerchatInfo(merchat);
    }
}
